package cn.ht.jywrwater.module.ht.convert.waterpipenetmaintain;

import java.util.*;

import cn.ht.jywrwater.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.ht.jywrwater.module.ht.controller.admin.waterpipenetmaintain.vo.*;
import cn.ht.jywrwater.module.ht.dal.dataobject.waterpipenetmaintain.WaterPipenetMaintainDO;

/**
 * 管网养护 Convert
 *
 * @author hzx
 */
@Mapper
public interface WaterPipenetMaintainConvert {

    WaterPipenetMaintainConvert INSTANCE = Mappers.getMapper(WaterPipenetMaintainConvert.class);

    WaterPipenetMaintainDO convert(WaterPipenetMaintainCreateReqVO bean);

    WaterPipenetMaintainDO convert(WaterPipenetMaintainUpdateReqVO bean);

    WaterPipenetMaintainRespVO convert(WaterPipenetMaintainDO bean);

    List<WaterPipenetMaintainRespVO> convertList(List<WaterPipenetMaintainDO> list);

    PageResult<WaterPipenetMaintainRespVO> convertPage(PageResult<WaterPipenetMaintainDO> page);

    List<WaterPipenetMaintainExcelVO> convertList02(List<WaterPipenetMaintainDO> list);

}
